package service.impl;

import dao.GameDao;
import dao.OrderDao;
import service.GameService;

public class GameServiceImpl implements GameService {
    private GameDao gDao;
    private OrderDao oDao;

    public GameServiceImpl() {
    }

    public GameServiceImpl(GameDao gDao, OrderDao oDao) {
        this.gDao = gDao;
        this.oDao = oDao;
    }

    public GameDao getgDao() {
        return gDao;
    }

    public void setgDao(GameDao gDao) {
        this.gDao = gDao;
    }

    public OrderDao getoDao() {
        return oDao;
    }

    public void setoDao(OrderDao oDao) {
        this.oDao = oDao;
    }

    @Override
    public void add() {
        gDao.add();
    }

    @Override
    public void find() {
        oDao.find();
    }
}
